# -*- coding:utf-8 -*-

mongo_db_target = {
    "host": "172.16.215.2",
    "port": 40042,
    "db": "crawl_data",
    'username': 'offline',
    'password': 'offline',
}

mongo_db_source = {
    'host': '172.16.215.2',
    'port': 40042,
    'db': 'company_data',
    'username': 'work',
    'password': 'haizhi'
}

# mongo_db_source = {
#     'host': '101.201.196.82',
#     'port': 27017,
#     'db': 'company_data',
#     'username': None,
#     'password': None,
# }

# 代理服务
remote_proxy_conf = {
    'host': '172.18.180.225',
    'port': 9300,
}

# 验证码识别服务
captcha_server_conf = {
    # "host": "127.0.0.1",
    'host': '172.18.180.225',
    "port": 9305
}

# 滑动验证码破解服务
captcha_geetest_conf = {
    'url': 'http://cs4.sz-internal.haizhi.com:3000/api/crawl_scripts/gongshang'
}

# 江西 重庆加密服务
encry_conf = {
    'url': 'http://cs4.sz-internal.haizhi.com:4000/api/run_script/gs_jx'
}

# 消息队列信息
beanstalk_server_conf = {
    # 测试IP
    'host': 'cs2.sz-internal.haizhi.com',
    'port': 11300,
    'tube': 'offline_download_rsp',
}
